<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">

<body bgcolor="#B0C4DE">

	<f:view contentType="text/html">
		<h:form id="principal">

			<div class="top">
				<br />
				<br />
				<br />
				<br />
				<br />
				<br />
				<br />
				<br />

				<table align="center" border="5" width="40%" bgcolor="white">
					<tr>
						<td><br />
						<div style="font-family: Arial; font-size: 40px" align="center">
								ERP - GRID</div>
							<br />
							<table align="center">
								<tr>
									<td><h:outputLabel value="Usuario:" /></td>
									<td><h:inputText value="#{loginBean.login}" /></td>
								</tr>
								<tr>
									<td><h:outputLabel value="Password:" /></td>
									<td><h:inputSecret value="#{loginBean.password}" /></td>
								</tr>
								<tr>
									<td colspan="2" align="right"
										style="font-family: arial; font-size: 10px; color: red">
										<h:messages showSummary="true" showDetail="false"></h:messages>
									</td>
								</tr>
								<tr>
									<td colspan="2" align="center"><h:commandButton
											value="Ingresar" action="#{loginBean.acceder}" />
									</td>
								</tr>

							</table> <br />
						<br /></td>
					</tr>
				</table>
			</div>
		</h:form>
	</f:view>
</body>
</html>